package com.moke.tween.test
{
	import fl.transitions.Tween;
	import fl.transitions.TweenEvent;
	import fl.transitions.easing.Back;
	import fl.transitions.easing.Bounce;
	import fl.transitions.easing.Elastic;
	import fl.transitions.easing.None;
	import fl.transitions.easing.Regular;
	import fl.transitions.easing.Strong;

	public class TweenSample
	{
		public function TweenSample()
		{
			Tween ;
			TweenEvent ;
			Back ;
			Bounce ;
			Elastic ;
			None ;
			Regular ;
			Strong ;			
		}
		
		/**
		 * How to use Moke Tween 
		 * include libs:
		 * 		1. flash tween
		 * new Tween(...);
		 * 
		 * 		2.TweenNano
		 * //tweens mc's alpha property to 0.5 and x property to 120 from wherever they are currently 
		 * over the course of 1.5 seconds.
		 * TweenNano.to(mc, 1.5, {alpha:0.5, x:120});
		 * 
		 * //same tween, but uses the Back.easeOut ease, delays the start time by 2 seconds, and calls 
		 * the "onFinishTween" function when it completes, passing two parameters to it, 5 and "myParam2".
		 * TweenNano.to(mc, 1.5, {alpha:0.5, x:120, ease:Back.easeOut, delay:2, 
		 * 			onComplete:onFinishTween, onCompleteParams:[5, "myParam2"]});
		 * 
		 * //tweens mc into place from 100 pixels above wherever it currently is, over the course of 1 
		 * second using the Elastic.easeOut ease.
		 * TweenNano.from(mc, 1, {y:"-100", ease:Elastic.easeOut});
		 * 
		 * new TweenLite(sprite,3,{x:800,y:400,rotation:30,ease:Elastic.easeInOut}) ;
		 * 
		 * TweenGroup.allTo([sprite1,sprite2,sprite3],3,{x:800}) ;
		 * 
		 * */ 
	}
}